package com.mao.service.impl.voucher;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mao.dao.voucher.WareHouseVoucherDao;
import com.mao.model.voucher.WareHouseVoucher;
import com.mao.service.voucher.IWareHouseVoucherService;

@Service("wareHouseVoucherService")
public class WareHouseVoucherServiceImpl implements IWareHouseVoucherService {

	private WareHouseVoucherDao wareHouseVoucherDao;

	public WareHouseVoucher saveWareHouseVoucher(WareHouseVoucher wv) {
		return wareHouseVoucherDao.saveWareHouseVoucher(wv);
	}
	
	public WareHouseVoucherDao getWareHouseVoucherDao() {
		return wareHouseVoucherDao;
	}

	@Autowired
	public void setWareHouseVoucherDao(WareHouseVoucherDao wareHouseVoucherDao) {
		this.wareHouseVoucherDao = wareHouseVoucherDao;
	}



	

}
